<?php
include_once 'basepath.php';

	
	//print_r($infoper);
	//print_r($infoinscr);
	//print_r($idinscr);


?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<link rel="stylesheet" href="<?php echo $bpath;?>/css/reset.css" />
<link rel="stylesheet" href="<?php echo $bpath;?>/css/text.css" />
<link rel="stylesheet" href="<?php echo $bpath;?>/css/960_24_col.css" />
 <link rel="stylesheet" href="<?php echo $bpath;?>/css/jquery-ui-1.8.21.custom.css" />
  <link rel="stylesheet" href="<?php echo $bpath;?>/css/faary.css" type="text/css" />
 <link rel="stylesheet" href="<?php echo $bpath;?>/css/style.css" />
 <link rel="stylesheet" href="<?php echo $bpath;?>/css/apprise.min.css" type="text/css">

 <script type="text/javascript" src="<?php echo $bpath;?>/js/jquery-1.7.2.min.js"></script>
 <script type="text/javascript" src="<?php echo $bpath;?>/js/jquery-ui-1.8.21.custom.min.js"></script>
<script type="text/javascript" src="<?php echo $bpath;?>/js/scripts.js"></script>
 <script type="text/javascript" src="<?php echo $bpath;?>/js/jquery.validate.js"></script>
</head>

<body>

	<div class="principal container_24">
		
		<!--logo-->
		<div class="logo grid_24">
			<div class="grid_1">&nbsp;</div>
			<div class="grid_4 logoimage"><img src="<?php echo $bpath;?>/img/logo.png" height="90"></div>
			<div class="logout grid_5"><a href="index.php?loginprocess/loginout"><img src="<?php echo $bpath;?>/img/bt_logout.jpg"/></a></div>
		</div><!-- end logo-->
		
		<!--menupricipal-->
		<div class="menuprincipal grid_24">
			
		</div>
		<!-- end menupricipal-->
				
			<div class="descprincipal grid_22">
				description
			</div>
			
			<div class="grid_24 listcontent">
				<h1>Confirmation</h1>
				<div class="grid_22 list">
<form method="post" action="index.php?add/actionAdd/invoice" onsubmit="return:false" class="iform grid_18">
<input type="hidden" name="idinscr" value="<?php echo $idinscr;?>"/>
<input type="hidden" name="iduser" value="<?php echo $iduser;?>"/>
<input type="hidden" name="idcleint" value="<?php echo $infoper["idclients"];?>"/>
<input type="hidden" name="idcomfirm" value="<?php echo $idcomfirm;?>"/>

<ul>
<li class="iheader">Confirmation</li>
<li><label for="FirstName">*First Name</label><?php echo $infoper["firstname"];?></li>
<li><label for="LastName">*Last Name</label><?php echo $infoper["lastname"];?></li>
<li><label for="Telephone">*Telephone</label><?php echo $infoper["telphone"];?></li>
<li><label for="Email">*Email</label><?php echo $infoper["email"];?></li>
<li><label for="Address">*address</label><?php echo $infoper["address"];?></li>
<li><label for="numberpeople">Adlut:</label><?php echo $infoinscr["numberpeople"];?></li>
<li><label for="numberpeople">Child:</label><?php echo $infoinscr["nbchild"];?> </li>
<li><label for="Language">Language</label><ul class="langlist"><li><?php echo $infoper["language"];?></li>
</ul></li>
<li><label for="SalsePrice">*Salse Price</label><?php echo $infoinscr["salesprice"];?></li>
<li><label for="Chambre">Chambre</label><ul class="chambrelist"><li>
<?php 

switch ($infoinscr["chambre"]) 
				{
				case "1":
					echo "Single";
				break;
				case "2":
					echo "Double";
				break;
				case "3":
					echo "Triple";
				break;
				case "4":
					echo "Quadruple";
				break;
				}
				?>


</li>
</ul></li>
<li><label for="Reminder">*Reminder</label><textarea class="itextarea" name="Reminder" id="Reminder" readonly=""><?php echo $infoinscr["reminder"];?></textarea></li>
<li><label for="Paid">Paid</label><ul><li><?php 
if($infoinscr["paid"]==1) echo "Yes";
if($infoinscr["paid"]==0) echo "No";
?>
</label></li>
</ul></li>
<li><label for="otherfees">* additional fees </label><textarea class="itextarea" name="addionalprixcommentaire" id="addionalprixcommentaire" ></textarea></li>
<li><label for="prixadditonal">total additional fees</label>$<input class="itext" type="text" name="prixadditonal" id="prixadditonal" value="0" /></li>
<?php $balancep=$orginalprice- $infoinscr["salesprice"];?>
<li><label for="prixadditonal">Balance</label>$<input class="itext" type="text" name="balance" id="balance" value="<?php if($balancep>0) echo number_format($balancep, 2); else echo "0";?>" /></li>
<li><label for="prixadditonal">type paid</label><ul class="chambrelist">
<li><input class="iradio" type="radio" checked="checked" name="typepaid" id="typepaid1" value="cash"><label for="typepaid1" class="ilabel">Cash</label></li>
<li><input class="iradio" type="radio" name="typepaid" id="typepaid2" value="credit"><label for="typepaid2" class="ilabel">Credit</label></li>
<li><input class="iradio" type="radio" name="typepaid" id="typepaid3" value="cheque"><label for="typepaid3" class="ilabel">Cheque</label></li>
</ul></li></li>
<li><label>&nbsp;</label><input type="submit" class="ibutton"  name="SendaMessage" id="SendaMessage" value="Submit" /></li>
</ul>

</form>
				</div>
			</div>
		
	</div><!--end principal-->
</body>
</html>